#pragma once
#include <vector>
#include <math.h>

double distance(const std::vector<double> & v1, const std::vector<double> & v2);


bool myfind(const std::vector<unsigned int> & v, const unsigned int & num);


double calResidual(const std::vector< std::vector<double>> & v1, const std::vector< std::vector<double>> & v2);
